package com.deyuanyun.pic.eqpt.service;

import com.deyuanyun.pic.eqpt.domain.ExtemalUse;

import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Bill.li on 2015/12/30.
 */
public interface ExtemalUseService {
    /**
     * Bill.li  获取外部借用设备数据和条件查询
     * */
    List<ExtemalUse> getExternally(HashMap<String,Object> record);

    /**
     * Bill.li  添加外部借用设备数据
     * */
    Boolean addExternally(HashMap param) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException, Exception;

    /**
     * Bill.li  编辑更新外部借用设备数据
     * */
    Boolean updateExternally(HashMap param) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException, Exception;

    /**
     * Bill.li  删除外部借用设备数据
     * */
    boolean delExternally(HashMap<String, Object> param);
    
    List<Map> getTask(HashMap<String,Object> pram);
}
